package InterfaceDemo4;
public class SmartBoard implements Device, NetworkDevice {
    private String model;

    public SmartBoard(String model) {
        this.model = model;
    }


    public void powerOn() {
        System.out.println(model + "电子白板开机，系统加载中...");
    }


    public void powerOff() {
        System.out.println(model + "电子白板关机，数据已同步");
    }


    public void connectNetwork() {
        System.out.println(model + "电子白板连接到WiFi，SSID: Classroom-5G");
    }
}